package com.twu.biblioteca;

public abstract class LibraryOption {
    private String name;
    private Library library;

    public LibraryOption(String name, Library library){
        this.library = library;
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public Library getLibrary() {
        return library;
    }

    public boolean equals(LibraryOption libraryOption){
        if(this.name.equals(libraryOption.getName())){
            return true;
        }
        return false;
    }

}
